package com.fourth.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljx.entity.Collection;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author Mr.ma
 * @since 2023/3/2 17:14
 **/
@Mapper
public interface UbCollectionDao extends BaseMapper<Collection> {
    /**
     * 逻辑删除关注
     * @param uid
     * @param gid
     * @return
     */
    int setDeleteGid(String uid, String gid);

    /**
     * 逻辑删除关注
     * @param uid
     * @param bid
     * @return
     */
    int setDeleteBid(String uid, String bid);
}
